#pragma once

#include <nlohmann/json.hpp>


using nlohmann::json;


namespace rviz_custom_plugins 
{


namespace models 
{


class MapConfig
{

public:

    std::string folder = "map";


};



inline void to_json(json& j, const MapConfig& config) {
    
    j = json{
        {"folder", config.folder}
    };
}


inline void from_json(const json& j, MapConfig& config)
{
    config.folder = j.value("folder", config.folder);
}



}


}